package com.leizi.igym.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-05-04  22:49
 * @Description: 前端饼状图返回格式
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DoughnutStatisticsDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1886618199337573611L;
    // 饼状图对应值
    private Integer value;

    // 饼状图对应名字
    private String name;

}
